import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/change.css'
import '@/assets/css/index.css'
// 引用bootstrap
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap/dist/js/bootstrap.js'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 下载
import { download } from '@/utils/request'
// 图片上传组件
import ImageUpload from "@/components/ImageUpload"
// 上传提示
import modal from "@/utils/modal"
// 懒加载
import VueLazyload from "vue-lazyload"
 
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.download = download
Vue.component('ImageUpload', ImageUpload)
Vue.prototype.$modal = modal

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
